// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
// 导入移动端点击300毫秒点击延迟解决js文件
import fastClick from 'fastclick'
// 导入移动端初始化样式
import './assets/styles/reset.css'
// 导入移动端1px边框2像素展示问题
import './assets/styles/border.css'
import '../src/assets/font/iconfont.css'
// import 'http://at.alicdn.com/t/font_1805469_e99szj792kq.css'
// 使用fastclick
Vue.config.productionTip = false
fastClick.attach(document.body)
    // 导入vue-awesome-swiper 轮播图
import VueAwesomeSwiper from 'vue-awesome-swiper'
import 'swiper/css/swiper.css'
// 挂载vuex
import store from './store'
Vue.use(VueAwesomeSwiper, /* { default options with global component } */ )

import Axios from 'axios'
import '../static/mock/mock.js'
Vue.prototype.$Axios = Axios
    /* eslint-disable no-new */
new Vue({
    el: '#app',
    router,
    components: { App },
    template: '<App/>',
    store
})